/*
 * @Author: zhangmengqiong
 * @Date: 2021-05-10 17:43:06
 * @LastEditors: zhangmengqiong
 * @LastEditTime: 2021-09-10 14:49:44
 */
import Vue from "vue";
import VueRouter from "vue-router";
import Home from "../views/Home.vue";
import BMap from "../views/BMap.vue";
Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "Home",
    component: Home
  },
  {
    path: "/bmap",
    name: "BMap",
    component: BMap
  }
];

const router = new VueRouter({
  routes
});

export default router;
